package com.shark.security.jwt.constant;

import lombok.Getter;

@Getter
public enum MessageCode {

    Success("000000", "操作成功"),

    Token_Refresh_Failed("900000", "Token刷新失败"),
    Authentication_Failed("900001", "不允许访问"),
    Un_authorized("999998", "无权操作"),
    Failed("999999", "操作失败"),
    ;

    private String code;

    private String message;

    private MessageCode(String code, String message) {
        this.code = code;
        this.message = message;
    }
}
